package org.dtrd.modules.evaluation.entity.bean;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import org.dtrd.modules.evaluation.entity.po.DtrdEntEvaluationRdCdmses;

/**
 * <p>
 * 自我管理效能（C-DMSES）
 * </p>
 *
 * @author QR
 * @since 2021-12-15
 */
@Getter
@Setter
@ApiModel(value = "自我管理效能（C-DMSES）列表信息", description = "自我管理效能（C-DMSES）")
public class CdmsesListInfo {

    private Integer dataId;

    @ApiModelProperty("患者ID")
    private Integer patientId;

    @ApiModelProperty("输入内容")
    private String input;

    @ApiModelProperty("总分")
    private Integer score;

    @ApiModelProperty("输出内容")
    private String output;

    public CdmsesListInfo (DtrdEntEvaluationRdCdmses po) {
        dataId = po.getDataId();
        patientId = po.getPatientId();
        input = po.getInput();
        score = po.getScore();
        output = po.getOutput();
    }
}
